package com.yjt.sousou.create.entity;


import com.yjt.sousou.base.BaseEntity;

import java.util.List;

/**
 * 作者：83734
 * 时间：2018/12/2
 * 描述：位置
 */
public class Location extends BaseEntity {
    /**
     * number : 1
     * state : Success
     * returncode : 0
     * sql : SELECT id,quyu,mechanismid FROM quyu  where 1
     * data : [{"id":"1","quyu":"一区","mechanismid":"0","didian_lists":[{"didian_id":"1","quyu_id":"1","didian_name":"商品部"},{"didian_id":"2","quyu_id":"1","didian_name":"洗浴中心"},{"didian_id":"3","quyu_id":"1","didian_name":"二层西侧"}]}]
     */

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * quyu : 一区
         * mechanismid : 0
         * didian_lists : [{"didian_id":"1","quyu_id":"1","didian_name":"商品部"},{"didian_id":"2","quyu_id":"1","didian_name":"洗浴中心"},{"didian_id":"3","quyu_id":"1","didian_name":"二层西侧"}]
         */

        private String id;
        private String quyu;
        private String mechanismid;
        private boolean isClicked;

        private List<DidianListsBean> didian_lists;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getQuyu() {
            return quyu;
        }

        public void setQuyu(String quyu) {
            this.quyu = quyu;
        }

        public String getMechanismid() {
            return mechanismid;
        }

        public void setMechanismid(String mechanismid) {
            this.mechanismid = mechanismid;
        }

        public List<DidianListsBean> getDidian_lists() {
            return didian_lists;
        }

        public void setDidian_lists(List<DidianListsBean> didian_lists) {
            this.didian_lists = didian_lists;
        }

        public boolean isClicked() {
            return isClicked;
        }

        public void setClicked(boolean clicked) {
            isClicked = clicked;
        }

        public static class DidianListsBean {
            /**
             * didian_id : 1
             * quyu_id : 1
             * didian_name : 商品部
             */

            private String didian_id;
            private String quyu_id;
            private String didian_name;
            private boolean isClicked;

            public String getDidian_id() {
                return didian_id;
            }

            public void setDidian_id(String didian_id) {
                this.didian_id = didian_id;
            }

            public String getQuyu_id() {
                return quyu_id;
            }

            public void setQuyu_id(String quyu_id) {
                this.quyu_id = quyu_id;
            }

            public String getDidian_name() {
                return didian_name;
            }

            public void setDidian_name(String didian_name) {
                this.didian_name = didian_name;
            }

            public boolean isClicked() {
                return isClicked;
            }

            public void setClicked(boolean clicked) {
                isClicked = clicked;
            }
        }
    }
}
